Linux shell integration: Do not call sed from absolute path.
authorKlaas Freitag <freitag@owncloud.com>
Tue, 9 Feb 2016 11:59:09 +0000 (12:59 +0100)
committerKlaas Freitag <freitag@owncloud.com>
Tue, 9 Feb 2016 12:01:03 +0000 (13:01 +0100)
sed is in /bin/ rather than in /usr/bin on some systems, which
makes the scripts fail in the build environment. sed should be
in the PATH tough.

shell_integration/nautilus/createnemoplugin.sh
shell_integration/nautilus/setappname.sh

index cc4ff7d1052818bb6afe7d3700f67711f07399ae..c6463b7ffd15b1e99b837dc4ad14af2862b2947c 100755 (executable)
@@ -3,4 +3,4 @@
 # this script creates a plugin for nemo, just be replacing
 # all occurences of Nautilus with Nemo.
 
-/usr/bin/sed -i.org -e 's/autilus/emo/g' syncstate_nemo.py
+sed -i.org -e 's/autilus/emo/g' syncstate_nemo.py
index 55f4c2917ac0f2afbc38dbd00b66ce7abc1a3e65..1ca085941c6b4d7157eb10c33d3eee86c6a8dfa5 100755 (executable)
@@ -3,4 +3,4 @@
 # this script replaces the line
 #  appname = 'ownCloud'
 # with the correct branding name in the syncstate.py script
-/usr/bin/sed -i.org -e 's/appname\s*=\s*'"'"'ownCloud'"'/appname = '$1'/" syncstate.py
+sed -i.org -e 's/appname\s*=\s*'"'"'ownCloud'"'/appname = '$1'/" syncstate.py