wok-next rev 18676
syslinux/iso2exe: fix add custom config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 06 12:45:22 2015 +0100 (2015-12-06) |
parents | 1e69cfd7f652 |
children | 8ac5467237fd |
files | syslinux/stuff/iso2exe/iso2exe.sh |
line diff
1.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh Sun Dec 06 10:57:10 2015 +0100 1.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh Sun Dec 06 12:45:22 2015 +0100 1.3 @@ -359,7 +359,7 @@ 1.4 echo " done." 1.5 if [ "$append$initrd" ]; then 1.6 echo -n "Adding custom config... " 1.7 - DATA=/tmp/$0$$ 1.8 + DATA=/tmp/$(basename $0)$$ 1.9 rm -f $DATA > /dev/null 1.10 isosz=$(stat -c %s $1) 1.11 [ "$append" ] && echo "append=$append" >> $DATA