Merge pull request #40311 from romildo/fix.enlightenment

enlightenment: remove bashism from patch
This commit is contained in:
xeji 2018-05-11 13:03:49 +02:00 committed by GitHub
commit 2f6ac31dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,9 +14,9 @@
for x in "$@" ; do
- chown root "$DESTDIR/$x"
- chmod a=rx,u+xs "$DESTDIR/$x"
+ f="$DESTDIR/$x";
+ f="$DESTDIR$x";
+ b=$(basename "$f".orig)
+ mv -v "$f"{,.orig}
+ mv -v "$f" "$f".orig
+ ln -sv /run/wrappers/bin/"$b" "$f"
+ echo " \"$b\".source = \"$f.orig\";" >> $w
done