shell script: absolute path doesn't works then it's forced to use relative path
Bug #1862907 reported by
Fabrizio Rovedi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
I use a shell script to re\install the system when it's necessary and I've observed that absolute path doesn't works then it's forced to use relative path. In example:
echo '###'
echo '###'
echo '###'
## Install HPLIP 3.19.12
echo '###Installing HPLIP 3.19.12...'
sleep 6
cd /media/
./hplip-3.19.12.run
cd /home
echo '###'
echo '###'
echo '###'
## Install of Gnome Look Theme for Grub Primitivistical Grub 0.2
echo '###Installing of Gnome Look Theme for Grub Primitivistical Grub 0.2...'
sleep 6
cd /media/
sudo sh Install.sh
cd /home
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1862907/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]