Index: install_scripts/utils/remove_unused_files.sh
===================================================================
--- install_scripts/utils/remove_unused_files.sh	(wersja 3620)
+++ install_scripts/utils/remove_unused_files.sh	(kopia robocza)
@@ -19,6 +19,13 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
+old_pwd=`pwd`
+script_dir=`pwd`/$0
+script_dir=`dirname $script_dir`
+cd $script_dir/../..
+
 find . -name "*.pyc" | xargs rm -f
 find . -name "*~*" | xargs rm -f
-find . -name "*#*" | xargs rm -f
\ Brak znaku nowej linii na końcu pliku
+find . -name "*#*" | xargs rm -f
+
+cd $old_pwd
Index: install_scripts/unix/generate_linux_packages.sh
===================================================================
--- install_scripts/unix/generate_linux_packages.sh	(wersja 3620)
+++ install_scripts/unix/generate_linux_packages.sh	(kopia robocza)
@@ -6,6 +6,11 @@
 echo "########################"
 echo
 
+old_pwd=`pwd`
+script_dir=`pwd`/$0
+script_dir=`dirname $script_dir`
+cd $script_dir/../..
+
 echo "Updating/Creating dumped operating system list..."
 python install_scripts/utils/create_os_list.py
 
@@ -18,4 +23,6 @@
 echo "Starting setup.py..."
 cp install_scripts/unix/setup.py .
 python setup.py sdist --formats=gztar,zip,bztar
-rm setup.py MANIFEST
\ Brak znaku nowej linii na końcu pliku
+rm setup.py MANIFEST
+
+cd $old_pwd
Index: install_scripts/unix/prepare_rpm_build.sh
===================================================================
--- install_scripts/unix/prepare_rpm_build.sh	(wersja 3620)
+++ install_scripts/unix/prepare_rpm_build.sh	(kopia robocza)
@@ -1,6 +1,13 @@
 #!/bin/sh
 
+old_pwd=`pwd`
+script_dir=`pwd`/$0
+script_dir=`dirname $script_dir`
+cd $script_dir/../..
+
 python setup.py sdist
 mv dist/umit-0.9.4.tar.gz /usr/src/redhat/SOURCES
 rmdir dist
 rpmbuild -vv -bb umit.fedora.spec --clean
+
+cd $old_pwd
Index: install_scripts/README
===================================================================
--- install_scripts/README	(wersja 3620)
+++ install_scripts/README	(kopia robocza)
@@ -1,10 +1,5 @@
 IMPORTANTE MESSAGE FOR DEVELOPERS AND PACKAGE MAINTAINERS:
 
-Every script under this directory is supposed to be executed from the umit
-base dir. Don't get into this directory, nor any other under this one to
-execute any of the scripts, or they're not going to work as expected.
-
-
 Generating windows installer:
 
  1 - Install the required dependencies for windows (including PIL)
@@ -26,4 +21,4 @@
  2 - Run install_scripts/macosx/generate_macosx_app.sh
 
  Obs: Some path adaptations may be needed in the script above in order to make
- it work in your system.
\ Brak znaku nowej linii na końcu pliku
+ it work in your system.
