More space in paths awareness.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6343 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2004-01-27 08:17:04 +00:00
parent eb0b2846e8
commit 8042d2a0f8

View File

@ -2113,8 +2113,8 @@ rule PackageZip
}
actions together PackageZip1 {
cd $(OBOS_PACKAGE_DIR) ;
zip -rq $(1:BS) $(2:BS) ;
cd "$(OBOS_PACKAGE_DIR)" ;
zip -rq "$(1:BS)" "$(2:BS)" ;
}
rule PackageInstallScript
@ -2128,27 +2128,27 @@ actions together PackageInstallScript1
{
echo '#!/bin/sh
base=`dirname "$0"`
cd $base
cd "$base"
if [ -n "$TTY" ]
then
unzip -d / install.zip
unzip -d / install.zip
else
response=`alert "Would you like to automatically overwrite existing files, or receive a prompt?" "Overwrite" "Prompt"`
if [ $response == "Overwrite" ]
then
unzip -od / install.zip
alert "Finished installing" "Thanks"
else
if [ -e /boot/beos/apps/Terminal ]
then
terminal=/boot/beos/apps/Terminal
else
terminal=`query Terminal | head -1`
fi
$terminal -t "installer" /bin/sh $0
fi
fi' > $(1) ;
chmod 755 $(1) ;
response=`alert "Would you like to automatically overwrite existing files, or receive a prompt?" "Overwrite" "Prompt"`
if [ $response == "Overwrite" ]
then
unzip -od / install.zip
alert "Finished installing" "Thanks"
else
if [ -e /boot/beos/apps/Terminal ]
then
terminal=/boot/beos/apps/Terminal
else
terminal=`query Terminal | head -1`
fi
$terminal -t "installer" /bin/sh "$0"
fi
fi' > "$(1)" ;
chmod 755 "$(1)" ;
}
rule PackageInstallZip
@ -2159,8 +2159,8 @@ rule PackageInstallZip
actions together PackageInstallZip
{
cd $(1:P) ;
zip -rqy $(1:BS) boot ;
cd "$(1:P)" ;
zip -rqy "$(1:BS)" boot ;
}
rule LinkInstallZip
@ -2171,5 +2171,5 @@ rule LinkInstallZip
actions together LinkInstallZip
{
ln -sf `pwd`/"$(2)" "$(1)" ;
ln -sf "`pwd`/$(2)" "$(1)" ;
}